home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-04-03 | 4.0 KB | 78 lines | [TEXT/MPS ] |
- ; File: E16.MIDI
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986-90
- ; All Rights Reserved
- ;
- ;
- miToolNum EQU $0020 ; the tool number of the MIDI Tool Set
- miDrvrFileType EQU $00BB ; filetype of MIDI device driver
- miNSVer EQU $0102 ; minimum version of Note Synthesizer required by MIDI Tool Set
- miSTVer EQU $0203 ; minimum version of Sound Tools needed by MIDI Tool Set
- miDrvrAuxType EQU $0300 ; aux type of MIDI device driver
- miStartUpErr EQU $2000 ; MIDI Tool Set is not started
- miPacketErr EQU $2001 ; incorrect length for a received MIDI command
- miArrayErr EQU $2002 ; a designated array had an insufficient or illegal size
- miFullBufErr EQU $2003 ; input buffer overflow
- miToolsErr EQU $2004 ; the required tools were not started up or had insufficient versions
- miOutOffErr EQU $2005 ; MIDI output must first be enabled
- miNoBufErr EQU $2007 ; no buffer is currently allocated
- miDriverErr EQU $2008 ; the designated file is not a legal MIDI device driver
- miBadFreqErr EQU $2009 ; the MIDI clock cannot attain the requested frequency
- miClockErr EQU $200A ; the MIDI clock value wrapped to zero
- miConflictErr EQU $200B ; conflicting processes for MIDI input
- miNoDevErr EQU $200C ; no MIDI device driver loaded
- miDevNotAvail EQU $2080 ; the requested device is not available
- miDevSlotBusy EQU $2081 ; requested slot is already in use
- miDevBusy EQU $2082 ; the requested device is already in use
- miDevOverrun EQU $2083 ; device overrun by incoming MIDI data
- miDevNoConnect EQU $2084 ; no connection to MIDI
- miDevReadErr EQU $2085 ; framing error in received MIDI data
- miDevVersion EQU $2086 ; ROM version is incompatible with device driver
- miDevIntHndlr EQU $2087 ; conflicting interrupt handler is installed
- miSetClock EQU $0000 ; set time stamp clock
- miStartClock EQU $0001 ; start time stamp clock
- miStopClock EQU $0002 ; stop time stamp clock
- miSetFreq EQU $0003 ; set clock frequency
- miRawMode EQU $00000000 ; raw mode for MIDI input and output
- miSetRTVec EQU $0000 ; set real-time message vector
- miPacketMode EQU $00000001 ; packet mode for MIDI input and output
- miSetErrVec EQU $0001 ; set real-time error vector
- miStandardMode EQU $00000002 ; standard mode for MIDI input and output
- miSetInBuf EQU $0002 ; set input buffer information
- miSetOutBuf EQU $0003 ; set output buffer information
- miStartInput EQU $0004 ; start MIDI input
- miStartOutput EQU $0005 ; start MIDI output
- miStopInput EQU $0006 ; stop MIDI input
- miStopOutput EQU $0007 ; stop MIDI output
- miFlushInput EQU $0008 ; discard contents of input buffer
- miFlushOutput EQU $0009 ; discard contents of output buffer
- miFlushPacket EQU $000A ; discard next input packet
- miWaitOutput EQU $000B ; wait for output buffer to empty
- miSetInMode EQU $000C ; set input mode
- miSetOutMode EQU $000D ; set output mode
- miClrNotePad EQU $000E ; clear all notes marked on in the note pad
- miSetDelay EQU $000F ; set minimum delay between output packets
- miOutputStat EQU $0010 ; enable/disable output of running-status
- miIgnoreSysEx EQU $0011 ; ignore system exclusive input
- miSelectDrvr EQU $0000 ; display device driver selection dialog
- miLoadDrvr EQU $0001 ; load and initialize device driver
- miUnloadDrvr EQU $0002 ; shutdown MIDI device, unload driver
- miNextPktLen EQU $0000 ; return length of next packet
- miInputChars EQU $0001 ; return number of characters in input buffer
- miOutputChars EQU $0002 ; return number of characters in output buffer
- miMaxInChars EQU $0003 ; return maximum number of characters in input buffer
- miMaxOutChars EQU $0004 ; return maximum number of characters in output buffer
- miRecordAddr EQU $0005 ; return current MidiRecordSeq address
- miPlayAddr EQU $0006 ; return current MidiPlaySeq address
- miClockValue EQU $0007 ; return current time stamp clock value
- miClockFreq EQU $0008 ; return number of clock ticks per second
- midiInputPoll EQU $00E101B2 ; MidiInputChannel - vector to poll MIDI input channel
- ; offset constants for MiBufInfo
- obufSize EQU 0
- oaddress EQU 2
- ; offset constants for MiDriverInfo
- oslot EQU 0
- oexternal EQU 2
- opathname EQU 4
-